package com.bwie.service;

import com.bwie.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(name = "zg6-month1-user")
public interface IUserService {

    @ApiOperation("根据用户名来查询用户")
    @PostMapping("/user/index/getUserListByname/{Name}")
    public R getUserListByname(@PathVariable(name = "Name")String Name);
}
